﻿using MediatR;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;

using RBAC_Uthorization.API.DTO;
using RBAC_Uthorization.API.DTO.Request.Fun;
using System.IdentityModel.Tokens.Jwt;
using System.Security.Claims;


namespace RBAC_Uthorization.API.Controllers
{
    [Route("api/[controller]/[action]")]
    [Authorize]
    [ApiController]
    public class FunController : ControllerBase
    {
        private readonly IMediator _mediator;
        private readonly ILogger<FunController> _logger;

        public FunController(IMediator mediator, ILogger<FunController> logger)
        {
            _mediator = mediator;
            _logger = logger;
        }
      
    }
}
